from django.urls import path, include
# from .views import genome_list_or_create
# from .views import GenomeViewDetail, GenomeViewList
from .views import GenomeViewSet
from rest_framework.routers import DefaultRouter
from rest_framework.urlpatterns import format_suffix_patterns

router = DefaultRouter()
router.register(r'genomes', GenomeViewSet, basename="genome")
urlpatterns = [
    # path("", views.genome_list_or_create, name="list"),
    # path("genome/", GenomeViewList.as_view()),
    # path("genome/<int:pk>", GenomeViewDetail.as_view()),
    path("", include(router.urls))
]

# urlpatterns = format_suffix_patterns(urlpatterns)
